package cn.kooki.app.duobao.data.Bean.share;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by xiong on 2016/1/1.
 */
public class NotShareGood implements Parcelable {

    /**
     * id : 144
     * title : 微信红包28元
     * thumb : http://ss.7qbao.com/statics/uploads/shopimg/20151230/82046226409552.jpg
     * qishu : 212277826
     */

    public String id;
    public String title;
    public String thumb;
    public String qishu;
    public String q_user;
    public String q_end_time;
    public String q_code;
    public String q_user_code;
    public String q_num;


    public NotShareGood() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.id);
        dest.writeString(this.title);
        dest.writeString(this.thumb);
        dest.writeString(this.qishu);
        dest.writeString(this.q_user);
        dest.writeString(this.q_end_time);
        dest.writeString(this.q_code);
        dest.writeString(this.q_user_code);
        dest.writeString(this.q_num);
    }

    protected NotShareGood(Parcel in) {
        this.id = in.readString();
        this.title = in.readString();
        this.thumb = in.readString();
        this.qishu = in.readString();
        this.q_user = in.readString();
        this.q_end_time = in.readString();
        this.q_code = in.readString();
        this.q_user_code = in.readString();
        this.q_num = in.readString();
    }

    public static final Creator<NotShareGood> CREATOR = new Creator<NotShareGood>() {
        public NotShareGood createFromParcel(Parcel source) {
            return new NotShareGood(source);
        }

        public NotShareGood[] newArray(int size) {
            return new NotShareGood[size];
        }
    };
}
